home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / grafix / raytracing / raylab / source / extern.h < prev    next >
C/C++ Source or Header  |  1996-02-15  |  1KB  |  31 lines

  1. /*
  2.     name:    extern.h
  3.  
  4.     Global (external) variables declared in rylab.c
  5.     -----------------------------------------------
  6.  
  7. */
  8.  
  9.  
  10.     extern long    PicWidth, PicHeight, RecDepth, NumObjects, NumLights;
  11.     extern CAMERA    Camera;
  12.     extern COLOR    BackgroundColor;
  13.     extern long    AntiAliasingRec;
  14.     extern double    AntiAliasingThreshold, AntiAliasingJitter;
  15.     extern long    ReqDisplayType;
  16.  
  17.     extern OBJECT    *ObjectArray[maxobjects];
  18.     extern LIGHT    *LightArray[maxlights];
  19.  
  20.     extern unsigned char    pixlearray[parraysize];
  21.     extern long    picturerendering;
  22.  
  23.     extern long    PlaneIntersectionAttempts,PlaneIntersections;
  24.     extern long    SphereIntersectionAttempts,SphereIntersections;
  25.     extern long    EllipsoidIntersectionAttempts,EllipsoidIntersections;
  26.     extern long    TriangleIntersectionAttempts,TriangleIntersections;
  27.     extern long    BoxIntersectionAttempts,BoxIntersections;
  28.     extern long    DiscIntersectionAttempts,DiscIntersections;
  29.     extern long    CylinderIntersectionAttempts,CylinderIntersections;
  30.     extern long    ShadowAttempts,ShadowHits,ReflectedRays;
  31.